package homeWork.zhang;


public class Ticket {
	private String checi;
	private int num;
	private String startT;
	private String endT;
	private float pj;

	
	public Ticket() {
		super();
	}
	
	public Ticket(String checi, int num) {
		super();
		this.checi = checi;
		this.num = num;
	}

	
	
	
	public Ticket(String checi, int num, String startT, String endT) {
		super();
		this.checi = checi;
		this.num = num;
		this.startT = startT;
		this.endT = endT;
	}

	
	
	public Ticket(String checi,String startT, String endT, int num,float pj) {
		super();
		this.checi = checi;
		this.num = num;
		this.startT = startT;
		this.endT = endT;
		this.pj = pj;
	}

	
	public float getPj() {
		return pj;
	}

	public void setPj(float pj) {
		this.pj = pj;
	}

	public String getStartT() {
		return startT;
	}

	public void setStartT(String startT) {
		this.startT = startT;
	}

	public String getEndT() {
		return endT;
	}

	public void setEndT(String endT) {
		this.endT = endT;
	}

	public String getCheci() {
		return checi;
	}

	public void setCheci(String checi) {
		this.checi = checi;
	}

	public int getNum() {
		return num;
	}

	public void setNum(int num) {
		this.num = num;
	}



	@Override
	public String toString() {
		return  ""+checi +" "+ startT +"  "+ endT+"  "+num+"   "+pj;
	}
}
